package control.bd.table;

public class User {

	public String login;
	public String password;

	public User() {

		login = null;
		password = null;

	}
	
	
	//Retourne vrai si tout les champs sont renseignes
	 
	public boolean valide() {
		boolean valide = false;
		
		valide = valide && !login.isEmpty();
		valide = valide && !password.isEmpty();
		
		return valide;
	}


	public String toString() {
		return "User [dateInscription=" +  ", idUser=" + ", login=" + login + ", mail=" +  ", password=" + password + "]";
	}
}
